package net.mfjassociates.finance.domain.mfjfin_newdb;

import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import org.springframework.roo.addon.dbre.RooDbManaged;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(entityName="net.mfjassociates.finance.domain.mfjfin_newdb.ItemizedFields", versionField = "", table = "ItemizedFields", schema = "dbo")
public class ItemizedFields {

	@ManyToOne
    @JoinColumn(name = "MappingID", referencedColumnName = "ID")
    private ControlMappings mappingId;

	@Column(name = "Amount", precision = 19, scale = 4)
    private BigDecimal amount;

	@Column(name = "GSTCode")
    private Boolean gstcode;

	@Column(name = "GSTItem", precision = 19, scale = 4)
    private BigDecimal gstitem;

	@Column(name = "PSTItem", precision = 19, scale = 4)
    private BigDecimal pstitem;

	@Column(name = "PSTCode")
    private Boolean pstcode;

	@Column(name = "QSTItem", precision = 19, scale = 4)
    private BigDecimal qstitem;

	@Column(name = "QSTCode")
    private Boolean qstcode;

	public ControlMappings getMappingId() {
        return mappingId;
    }

	public void setMappingId(ControlMappings mappingId) {
        this.mappingId = mappingId;
    }

	public BigDecimal getAmount() {
        return amount;
    }

	public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

	public Boolean getGstcode() {
        return gstcode;
    }

	public void setGstcode(Boolean gstcode) {
        this.gstcode = gstcode;
    }

	public BigDecimal getGstitem() {
        return gstitem;
    }

	public void setGstitem(BigDecimal gstitem) {
        this.gstitem = gstitem;
    }

	public BigDecimal getPstitem() {
        return pstitem;
    }

	public void setPstitem(BigDecimal pstitem) {
        this.pstitem = pstitem;
    }

	public Boolean getPstcode() {
        return pstcode;
    }

	public void setPstcode(Boolean pstcode) {
        this.pstcode = pstcode;
    }

	public BigDecimal getQstitem() {
        return qstitem;
    }

	public void setQstitem(BigDecimal qstitem) {
        this.qstitem = qstitem;
    }

	public Boolean getQstcode() {
        return qstcode;
    }

	public void setQstcode(Boolean qstcode) {
        this.qstcode = qstcode;
    }
}
